Package com.netscape.cmsutil.ocsp
Class SingleResponse
java.lang.Object
com.netscape.cmsutil.ocsp.SingleResponse
- All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value
RFC 2560:
SingleResponse ::= SEQUENCE { certID CertID, certStatus CertStatus, thisUpdate GeneralizedTime, nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL, singleExtensions [1] EXPLICIT Extensions OPTIONAL }
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A Template for decodingResponseBytes
. -
Constructor Summary
ConstructorsConstructorDescriptionSingleResponse
(CertID cid, CertStatus s, org.mozilla.jss.asn1.GeneralizedTime thisUpdate, org.mozilla.jss.asn1.GeneralizedTime nextUpdate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream os) void
encode
(org.mozilla.jss.asn1.Tag t, OutputStream os) int
org.mozilla.jss.asn1.GeneralizedTime
org.mozilla.jss.asn1.Tag
getTag()
static SingleResponse.Template
org.mozilla.jss.asn1.GeneralizedTime
-
Constructor Details
-
SingleResponse
public SingleResponse(CertID cid, CertStatus s, org.mozilla.jss.asn1.GeneralizedTime thisUpdate, org.mozilla.jss.asn1.GeneralizedTime nextUpdate)
-
-
Method Details
-
getCertID
-
getTag
public org.mozilla.jss.asn1.Tag getTag()- Specified by:
getTag
in interfaceorg.mozilla.jss.asn1.ASN1Value
-
encode
- Specified by:
encode
in interfaceorg.mozilla.jss.asn1.ASN1Value
- Throws:
IOException
-
encode
- Specified by:
encode
in interfaceorg.mozilla.jss.asn1.ASN1Value
- Throws:
IOException
-
getCertStatus
-
getThisUpdate
public org.mozilla.jss.asn1.GeneralizedTime getThisUpdate() -
getNextUpdate
public org.mozilla.jss.asn1.GeneralizedTime getNextUpdate() -
getExtensionCount
public int getExtensionCount() -
getTemplate
-